import Layout from '@/layout'
import employeesRoute from '@/views/employees'
import employeesDetail from '@/views/employees/Detail'
import employeesPrint from '@/views/employees/Print'
export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '/employees',
      name: 'employees',
      component: employeesRoute,
      meta: { title: '员工', icon: 'people' }
    },
    {
      hidden: true,
      path: '/employees/detail/:id',
      name: 'detail',
      component: employeesDetail
      // meta: { title: '员工详情', icon: 'people' }
    },
    {
      hidden: true,
      path: '/employees/print/:id',
      name: 'print',
      component: employeesPrint
    }
  ]
}
